import http from '../utils/http'
/**
 * 全局字典加载
 * @param {*} cbFunc 
 */
function dictMap(cbFunc) {
  http.get('/dict/map').then(res => {
    cbFunc(res)
  })
}

module.exports = {
  dictMap: dictMap
}